Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.theme.webengine--views

This contribution is part of XML component org.nuxeo.theme.webengine inside nuxeo-theme-webengine-5.8.jar

Extension Point

Extension point views of component ThemeService.

Contributed Items

  • <view template-engine="freemarker">
          <format-type>layout</format-type>
          <class>
            org.nuxeo.theme.html.filters.layout.DefaultLayoutView
          </class>
        </view>
  • <view template-engine="freemarker">
          <format-type>style</format-type>
          <class>
            org.nuxeo.theme.html.filters.style.DefaultStyleView
          </class>
        </view>
  • <view name="theme view" template-engine="freemarker">
          <element-type>theme</element-type>
          <format-type>widget</format-type>
          <template>nxthemes/webengine/fm/widgets/theme-view.xml</template>
        </view>
  • <view name="page frame" template-engine="freemarker">
          <element-type>page</element-type>
          <format-type>widget</format-type>
          <template>nxthemes/webengine/fm/widgets/page-frame.xml</template>
        </view>
  • <view name="section frame" template-engine="freemarker">
          <element-type>section</element-type>
          <format-type>widget</format-type>
          <template>nxthemes/webengine/fm/widgets/section-frame.xml</template>
        </view>
  • <view name="cell frame" template-engine="freemarker">
          <element-type>cell</element-type>
          <format-type>widget</format-type>
          <template>nxthemes/webengine/fm/widgets/cell-frame.xml</template>
        </view>
  • <view name="block region" template-engine="freemarker">
          <format-type>widget</format-type>
          <model-type>region</model-type>
          <icon>nxthemes/webengine/fm/icons/block-region.png</icon>
          <class>
            org.nuxeo.theme.webengine.fm.filters.widgets.BlockRegionView
          </class>
        </view>
  • <view name="vertical menu" template-engine="freemarker">
          <format-type>widget</format-type>
          <model-type>menu</model-type>
          <template>nxthemes/webengine/fm/widgets/vertical-menu.xml</template>
        </view>
  • <view name="horizontal tabs" template-engine="freemarker">
          <format-type>widget</format-type>
          <model-type>menu</model-type>
          <template>
            nxthemes/webengine/fm/widgets/horizontal-tabs.xml
          </template>
        </view>
  • <view name="vertical list" template-engine="freemarker">
          <format-type>widget</format-type>
          <model-type>navigation</model-type>
          <template>nxthemes/webengine/fm/widgets/vertical-list.xml</template>
        </view>
  • <view name="horizontal trail" template-engine="freemarker">
          <format-type>widget</format-type>
          <model-type>navigation</model-type>
          <template>nxthemes/webengine/fm/widgets/horizontal-trail.xml</template>
        </view>
  • <view name="plain text" template-engine="freemarker">
          <format-type>widget</format-type>
          <model-type>text</model-type>
          <icon>nxthemes/html/icons/plain-text.png</icon>
          <template>nxthemes/webengine/fm/widgets/plain-text.xml</template>
        </view>
  • <view name="plain html" template-engine="freemarker">
          <format-type>widget</format-type>
          <model-type>html</model-type>
          <icon>nxthemes/html/icons/plain-html.png</icon>
          <template>nxthemes/webengine/fm/widgets/plain-html.xml</template>
        </view>
  • <view name="theme view" template-engine="freemarker">
          <engine>default</engine>
          <mode>no-cache</mode>
          <element-type>theme</element-type>
          <format-type>widget</format-type>
          <template>nxthemes/webengine/fm/widgets/theme-view-no-cache.xml</template>
        </view>

XML Source

<extension point="views" target="org.nuxeo.theme.services.ThemeService">

   <view template-engine="freemarker">
      <format-type>layout</format-type>
      <class>
        org.nuxeo.theme.html.filters.layout.DefaultLayoutView
      </class>
    </view>

    <view template-engine="freemarker">
      <format-type>style</format-type>
      <class>
        org.nuxeo.theme.html.filters.style.DefaultStyleView
      </class>
    </view>

    <!-- Layout -->

    <view name="theme view" template-engine="freemarker">
      <element-type>theme</element-type>
      <format-type>widget</format-type>
      <template>nxthemes/webengine/fm/widgets/theme-view.xml</template>
    </view>

    <view name="page frame" template-engine="freemarker">
      <element-type>page</element-type>
      <format-type>widget</format-type>
      <template>nxthemes/webengine/fm/widgets/page-frame.xml</template>
    </view>

    <view name="section frame" template-engine="freemarker">
      <element-type>section</element-type>
      <format-type>widget</format-type>
      <template>nxthemes/webengine/fm/widgets/section-frame.xml</template>
    </view>

    <view name="cell frame" template-engine="freemarker">
      <element-type>cell</element-type>
      <format-type>widget</format-type>
      <template>nxthemes/webengine/fm/widgets/cell-frame.xml</template>
    </view>


    <!-- Default widgets -->

    <view name="block region" template-engine="freemarker">
      <format-type>widget</format-type>
      <model-type>region</model-type>
      <icon>nxthemes/webengine/fm/icons/block-region.png</icon>
      <class>
        org.nuxeo.theme.webengine.fm.filters.widgets.BlockRegionView
      </class>
    </view>

    <view name="vertical menu" template-engine="freemarker">
      <format-type>widget</format-type>
      <model-type>menu</model-type>
      <template>nxthemes/webengine/fm/widgets/vertical-menu.xml</template>
    </view>

    <view name="horizontal tabs" template-engine="freemarker">
      <format-type>widget</format-type>
      <model-type>menu</model-type>
      <template>
        nxthemes/webengine/fm/widgets/horizontal-tabs.xml
      </template>
    </view>

    <view name="vertical list" template-engine="freemarker">
      <format-type>widget</format-type>
      <model-type>navigation</model-type>
      <template>nxthemes/webengine/fm/widgets/vertical-list.xml</template>
    </view>

    <view name="horizontal trail" template-engine="freemarker">
      <format-type>widget</format-type>
      <model-type>navigation</model-type>
      <template>nxthemes/webengine/fm/widgets/horizontal-trail.xml</template>
    </view>

    <view name="plain text" template-engine="freemarker">
      <format-type>widget</format-type>
      <model-type>text</model-type>
      <icon>nxthemes/html/icons/plain-text.png</icon>
      <template>nxthemes/webengine/fm/widgets/plain-text.xml</template>
    </view>

    <view name="plain html" template-engine="freemarker">
      <format-type>widget</format-type>
      <model-type>html</model-type>
      <icon>nxthemes/html/icons/plain-html.png</icon>
      <template>nxthemes/webengine/fm/widgets/plain-html.xml</template>
    </view>

    <!-- no style caching -->
    <view name="theme view" template-engine="freemarker">
      <engine>default</engine>
      <mode>no-cache</mode>
      <element-type>theme</element-type>
      <format-type>widget</format-type>
      <template>nxthemes/webengine/fm/widgets/theme-view-no-cache.xml</template>
    </view>

  </extension>